Skip to content

Make memberNameCompare local in teams utils#9780

Draft
Saby-Bishops wants to merge 1 commit intomasterfrom
codex/refactor-membernamecompare-to-local-const
Draft

Make memberNameCompare local in teams utils#9780
Saby-Bishops wants to merge 1 commit intomasterfrom
codex/refactor-membernamecompare-to-local-const

Conversation

@Saby-Bishops
Copy link
Copy Markdown
Member

Motivation

  • Reduce the module's public API surface by making memberNameCompare internal while preserving existing sort behavior.

Description

  • Changed export const memberNameCompare to a non-exported const memberNameCompare in src/app/teams/teams.utils.ts, and left memberSort unchanged so sorting logic is identical.

Testing

  • Ran rg -n "memberNameCompare" src/app chatapi which reported only in-file references and no external imports, confirming the export can be removed safely.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant